import { fileURLToPath } from 'url';
import { dirname, resolve } from 'path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

/* 控制台路径 */
export const cmdPath = process.cwd();
/* 配置文件名称 */
export const configFileName = 'apiConfig.js';
/* 配置文件路径 */
export const configFilePath = resolve(cmdPath, configFileName);
/* template文件路径 */
export const templateFilePath = resolve(__dirname, '../template');
